/** @format */

//配置项
export default {
  isCreateExcel: true,
  mode: 'production',
  // 收集属性
  attrHotToken: [
    'content',
    'placeholder',
    'title',
    'label',
    'message',
    'description',
    'resetText',
    'submitText',
  ],
  // 收集js
  hotToken: [
    'ElMessage.error',
    'ElMessage.success',
    'ElMessage.warning',
    '$message.error',
    '$message.success',
    '$message.warning',
    'rRequired',
    'confirmButtonText',
    'cancelButtonText',
    'inputErrorMessage',
    'inputPlaceholder',
    'ElMessageBox.confirm', // ElMessageBox.confirm(`Would you like to discard all changes?`,
    'ElMessageBox.prompt',
    'ElMessageBox.alert',
    'text',
    'desc',
    'label', //定义filterbar
    'title', //table
    'message', //message: ''
    'handleConfirm', //  handleConfirm(' Are you sure to trigger CRM to send invoice to Customer?', {
    'handleMessage', //        handleMessage(`Success`, 'success', false);
    'placeholder',
    'groupTitle',
  ],
  i18nT: '$t',
  entry: {},
  output: './i18n-collect',
  langSourcePath: 'src/lang/en/otd', //老版本lang源文件地址
  rootModuleName: 'otd', //老版本子应用名称
  //将文件要替换的code记录下来
  saveReplaceObj: {
    file: {
      textData: [],
      attrData: [],
      jsTextData: [],
    },
  },
  userHandle: [], //用户手动处理的
}
